﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B51 RID: 2897
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MNFBAOKFOPM : IMessage<MNFBAOKFOPM>, IMessage, IEquatable<MNFBAOKFOPM>, IDeepCloneable<MNFBAOKFOPM>, IBufferMessage
	{
		// Token: 0x17002495 RID: 9365
		// (get) Token: 0x0600818D RID: 33165 RVA: 0x00159F2D File Offset: 0x0015812D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MNFBAOKFOPM> Parser
		{
			get
			{
				return MNFBAOKFOPM._parser;
			}
		}

		// Token: 0x17002496 RID: 9366
		// (get) Token: 0x0600818E RID: 33166 RVA: 0x00159F34 File Offset: 0x00158134
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MNFBAOKFOPMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002497 RID: 9367
		// (get) Token: 0x0600818F RID: 33167 RVA: 0x00159F46 File Offset: 0x00158146
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MNFBAOKFOPM.Descriptor;
			}
		}

		// Token: 0x06008190 RID: 33168 RVA: 0x00159F4D File Offset: 0x0015814D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNFBAOKFOPM()
		{
		}

		// Token: 0x06008191 RID: 33169 RVA: 0x00159F55 File Offset: 0x00158155
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNFBAOKFOPM(MNFBAOKFOPM other) : this()
		{
			this.aAHBPGBHCEM_ = other.aAHBPGBHCEM_;
			this.oOBAPPMOLMA_ = other.oOBAPPMOLMA_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008192 RID: 33170 RVA: 0x00159F86 File Offset: 0x00158186
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNFBAOKFOPM Clone()
		{
			return new MNFBAOKFOPM(this);
		}

		// Token: 0x17002498 RID: 9368
		// (get) Token: 0x06008193 RID: 33171 RVA: 0x00159F8E File Offset: 0x0015818E
		// (set) Token: 0x06008194 RID: 33172 RVA: 0x00159F96 File Offset: 0x00158196
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong AAHBPGBHCEM
		{
			get
			{
				return this.aAHBPGBHCEM_;
			}
			set
			{
				this.aAHBPGBHCEM_ = value;
			}
		}

		// Token: 0x17002499 RID: 9369
		// (get) Token: 0x06008195 RID: 33173 RVA: 0x00159F9F File Offset: 0x0015819F
		// (set) Token: 0x06008196 RID: 33174 RVA: 0x00159FA7 File Offset: 0x001581A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightGameMode OOBAPPMOLMA
		{
			get
			{
				return this.oOBAPPMOLMA_;
			}
			set
			{
				this.oOBAPPMOLMA_ = value;
			}
		}

		// Token: 0x06008197 RID: 33175 RVA: 0x00159FB0 File Offset: 0x001581B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MNFBAOKFOPM);
		}

		// Token: 0x06008198 RID: 33176 RVA: 0x00159FBE File Offset: 0x001581BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MNFBAOKFOPM other)
		{
			return other != null && (other == this || (this.AAHBPGBHCEM == other.AAHBPGBHCEM && this.OOBAPPMOLMA == other.OOBAPPMOLMA && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008199 RID: 33177 RVA: 0x00159FFC File Offset: 0x001581FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AAHBPGBHCEM != 0UL)
			{
				num ^= this.AAHBPGBHCEM.GetHashCode();
			}
			if (this.OOBAPPMOLMA != FightGameMode.None)
			{
				num ^= this.OOBAPPMOLMA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600819A RID: 33178 RVA: 0x0015A05A File Offset: 0x0015825A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600819B RID: 33179 RVA: 0x0015A062 File Offset: 0x00158262
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600819C RID: 33180 RVA: 0x0015A06C File Offset: 0x0015826C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AAHBPGBHCEM != 0UL)
			{
				output.WriteRawTag(8);
				output.WriteUInt64(this.AAHBPGBHCEM);
			}
			if (this.OOBAPPMOLMA != FightGameMode.None)
			{
				output.WriteRawTag(16);
				output.WriteEnum((int)this.OOBAPPMOLMA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600819D RID: 33181 RVA: 0x0015A0C4 File Offset: 0x001582C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AAHBPGBHCEM != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.AAHBPGBHCEM);
			}
			if (this.OOBAPPMOLMA != FightGameMode.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.OOBAPPMOLMA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600819E RID: 33182 RVA: 0x0015A11C File Offset: 0x0015831C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MNFBAOKFOPM other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AAHBPGBHCEM != 0UL)
			{
				this.AAHBPGBHCEM = other.AAHBPGBHCEM;
			}
			if (other.OOBAPPMOLMA != FightGameMode.None)
			{
				this.OOBAPPMOLMA = other.OOBAPPMOLMA;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600819F RID: 33183 RVA: 0x0015A16C File Offset: 0x0015836C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060081A0 RID: 33184 RVA: 0x0015A178 File Offset: 0x00158378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 16U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.OOBAPPMOLMA = (FightGameMode)input.ReadEnum();
					}
				}
				else
				{
					this.AAHBPGBHCEM = input.ReadUInt64();
				}
			}
		}

		// Token: 0x040031B9 RID: 12729
		private static readonly MessageParser<MNFBAOKFOPM> _parser = new MessageParser<MNFBAOKFOPM>(() => new MNFBAOKFOPM());

		// Token: 0x040031BA RID: 12730
		private UnknownFieldSet _unknownFields;

		// Token: 0x040031BB RID: 12731
		public const int AAHBPGBHCEMFieldNumber = 1;

		// Token: 0x040031BC RID: 12732
		private ulong aAHBPGBHCEM_;

		// Token: 0x040031BD RID: 12733
		public const int OOBAPPMOLMAFieldNumber = 2;

		// Token: 0x040031BE RID: 12734
		private FightGameMode oOBAPPMOLMA_;
	}
}
